package com.cysyz.commonservice.mycommonservice.exception;

public enum ExceptionCodeAndLevelAndMessage {
	A("205", ExceptionLevel.WARNING, "aaaa")
	, ResetPasswordException_ANSWERNOTMATCH("201", ExceptionLevel.ERROR, "sssssss")
	,USERIDALREADYEXIST("101", "");
	private ExceptionCodeAndLevelAndMessage(String code, String message){
		this(code,ExceptionLevel.ERROR, message);
	}
	private ExceptionCodeAndLevelAndMessage(String code, ExceptionLevel level, String message){
		this.code = code;
		this.level = level;
		this.message = message;
	}
	private String code;
	private String message;
	private ExceptionLevel level;
	
	public String getCode() {
		return code;
	}
	public ExceptionLevel getExceptionLevel() {
		return level;
	}
	public String getMessage() {
		return message;
	}
	
}
